import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import 'antd/dist/antd.min.css';
import {BrowserRouter} from 'react-router-dom';
import {renderRoutes} from "react-router-config";
import {createRoutes} from "@/common/route";

const routes = createRoutes()

ReactDOM.render(
  <React.StrictMode>
    <BrowserRouter>
      {renderRoutes(routes)}
    </BrowserRouter>,
  </React.StrictMode>,
  document.getElementById('root')
);
